<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      //引用技术，掐断引用地
      var obj1 = { name: 'lisi', age: 24 };
      obj2 = obj1;
      obj2 = null; //中断obj2的赋址
      console.log(obj2);
      console.log(obj1);
    </script>
  </body>
</html>
